import Layout from '@/layout'

export default {
  path: '/employees',
  component: Layout,
  children: [
    {
      path: '', // 为空自动匹配
      name: 'employees',
      component: () => import(/* webpackChunkName:"employees"*/'@/views/employees/employees.vue'),
      meta: { title: '员工', icon: 'people' }
    },
    {
      // path: 'detail',  // 查询参数传参
      path: 'detail/:id', // 路径参数传参
      name: 'detail',
      component: () => import(/* webpackChunkName:"detail"*/'@/views/employees/detail.vue'),
      hidden: true
    }
  ]
}
